package com.isoft.demo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


public class Emp {
    private int eid;
    private String ename;
    private String ephone;
    private double esalary;
    private String epost;
    private String enumber;
    private String edirverid;
    private int emonth;

    public Emp() {
    }

    public Emp(int eid,  String ename, String ephone, double esalary, String epost, String enumber, String edirverid, int emonth) {
        this.eid = eid;
        this.ename = ename;
        this.ephone = ephone;
        this.esalary = esalary;
        this.epost = epost;
        this.enumber = enumber;
        this.edirverid = edirverid;
        this.emonth = emonth;
    }

    public int getEid() {
        return eid;
    }

    public void setEid(int eid) {
        this.eid = eid;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public String getEphone() {
        return ephone;
    }

    public void setEphone(String ephone) {
        this.ephone = ephone;
    }

    public double getEsalary() {
        return esalary;
    }

    public void setEsalary(double esalary) {
        this.esalary = esalary;
    }

    public String getEpost() {
        return epost;
    }

    public void setEpost(String epost) {
        this.epost = epost;
    }

    public String getEnumber() {
        return enumber;
    }

    public void setEnumber(String enumber) {
        this.enumber = enumber;
    }

    public String getEdirverid() {
        return edirverid;
    }

    public void setEdirverid(String edirverid) {
        this.edirverid = edirverid;
    }

    public int getEmonth() {
        return emonth;
    }

    public void setEmonth(int emonth) {
        this.emonth = emonth;
    }

    @Override
    public String toString() {
        return "Emp{" +
                "eid=" + eid +
                ", ename='" + ename + '\'' +
                ", ephone='" + ephone + '\'' +
                ", esalary=" + esalary +
                ", epost='" + epost + '\'' +
                ", enumber='" + enumber + '\'' +
                ", edirverid='" + edirverid + '\'' +
                ", emonth=" + emonth +
                '}';
    }
}
